Skip to content

Dashboard: don't prefetch latest build #12400

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Aug 14, 2025
Merged

Dashboard: don't prefetch latest build #12400

merged 7 commits into from
Aug 14, 2025

Conversation

stsewd
Copy link
Member

@stsewd stsewd commented Aug 13, 2025

get_latest_build was doing something different than the prefetched value, looks like we never actually used this function with finished=True, so I went ahead and renamed it and made it a property so we can cache it.

@stsewd stsewd requested a review from a team as a code owner August 13, 2025 00:06
@stsewd stsewd requested a review from agjohnson August 13, 2025 00:06
@stsewd stsewd marked this pull request as draft August 13, 2025 00:09
@stsewd stsewd marked this pull request as ready for review August 13, 2025 22:30
@stsewd
Copy link
Member Author

stsewd commented Aug 13, 2025

Tests for the number of queries should pass after readthedocs/ext-theme#639 is merged

Copy link
Member

@humitos humitos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left some comments about a small change in behavior, but looks good otherwise.

@stsewd stsewd merged commit f52474e into main Aug 14, 2025
3 of 4 checks passed
@stsewd stsewd deleted the dont-prefetch branch August 14, 2025 16:38
stsewd added a commit to readthedocs/ext-theme that referenced this pull request Aug 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants